package com.api.user.dao;

import com.api.core.ApiMapper;
import com.api.user.model.Coupon;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface CouponMapper extends ApiMapper<Coupon> {
    List<Map<String,Object>> listUser(@Param("roleId") Integer roleId);
    List<Map<String,Object>> list(@Param("params") Map<String, Object> params,@Param("order") Map<String, Object> orderParams);
}